<%@ page  language="java" contentType="text/html; charset=UTF-8"  pageEncoding="UTF-8" %>
<form onsubmit="return toSaveCinema()" id="cinemaForm" class="layui-form" style="display: none;padding:10px;">
    <%--   名称--%>
    <div class="layui-form-item">
        <label class="layui-form-label">影院名称</label>
        <div class="layui-input-block">
            <input type="text" name="cname" id="cname" required  lay-verify="required" placeholder="请输入影院名称" autocomplete="off" class="layui-input">
        </div>
    </div>
    <%--    联系电话--%>
    <div class="layui-form-item">
        <label class="layui-form-label">联系电话</label>
        <div class="layui-input-block">
            <input type="text" name="cphonenum" id="cphonenum" required  lay-verify="required" placeholder="请输入联系电话" autocomplete="off" class="layui-input">
        </div>
    </div>
    <%--    账号--%>
    <div class="layui-form-item">
        <label class="layui-form-label">账号</label>
        <div class="layui-input-block">
            <input type="text" name="caccount" id="caccount" required  lay-verify="required" placeholder="请输入影院账号" autocomplete="off" class="layui-input">
        </div>
    </div>
    <%--    地区下拉列表--%>
    <div class="layui-form-item">
        <label class="layui-form-label">选择位置：</label>
        <div class="layui-input-inline">
            <select name="area1" id="area1" lay-filter="area1">
                <option value="" selected="">请选择市</option>
                <c:forEach var="area" items="${requestScope.cinemaPageVO.areaList}">
                    <option value="${area.aid}" >${area.aname}</option>
                </c:forEach>
            </select>
        </div>
        <div class="layui-input-inline">
            <select name="area2" id="area2" lay-filter="area2">
                <option value="" disabled="">请选择区</option>
            </select>
        </div>
    </div>
    <%--    具体地址--%>
    <div class="layui-form-item">
        <label class="layui-form-label">具体地址</label>
        <div class="layui-input-block">
            <input type="text" name="address" id="address" required  lay-verify="required" placeholder="请输入具体地址" autocomplete="off" class="layui-input">
        </div>
    </div>
    <%--    影院描述--%>
    <div class="layui-form-item layui-form-text">
        <label class="layui-form-label">影院描述</label>
        <div class="layui-input-block">
            <textarea placeholder="请输入影院描述" class="layui-textarea" id="description"></textarea>
        </div>
    </div>
    <%--    按钮--%>
    <div class="layui-form-item">
        <div class="layui-input-block">
            <button class="layui-btn" lay-submit lay-filter="formDemo">立即提交</button>
            <button type="reset" class="layui-btn layui-btn-primary">重置</button>
        </div>
    </div>
</form>